package cn.hdu.community.service;

import cn.hdu.community.dto.Result;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author zhangxin
 * @Date 2022/4/10
 */
public interface FileService {
    /**
     * 上传文件
     *
     * @param uploadFile
     * @return
     */
    Result uploadImgFile(MultipartFile uploadFile);

    Result checkImgFileSiz(MultipartFile uploadFile);
}
